/**
 * English Language Pack
 */
export default {
  common: {
    confirm: 'Confirm',
    cancel: 'Cancel',
    save: 'Save',
    delete: 'Delete',
    edit: 'Edit',
    search: 'Search',
    reset: 'Reset',
    submit: 'Submit',
    back: 'Back',
    loading: 'Loading...',
    noData: 'No Data',
    success: 'Success',
    error: 'Error',
    warning: 'Warning',
    info: 'Info',
    logout: 'Logout',
    login: 'Login',
    register: 'Register',
    profile: 'Profile',
    settings: 'Settings',
    language: 'Language',
    actions: 'Quick Actions',
    view: 'View',
    download: 'Download',
    copy: 'Copy',
    close: 'Close',
    refresh: 'Refresh',
    total: 'Total',
    selected: 'Selected',
    page: 'Page',
    progress: 'Progress',
    continue: 'Continue',
  },
  nav: {
    dashboard: 'Dashboard',
    taskList: 'Task List',
    submitTask: 'Submit Task',
    queueManagement: 'Queue Management',
    apiDocs: 'API Docs',
    userManagement: 'User Management',
  },
  auth: {
    username: 'Username',
    password: 'Password',
    email: 'Email',
    confirmPassword: 'Confirm Password',
    loginTitle: 'Login to Tianshu',
    registerTitle: 'Register New Account',
    loginButton: 'Login',
    registerButton: 'Register',
    noAccount: "Don't have an account?",
    hasAccount: 'Already have an account?',
    goToRegister: 'Register',
    goToLogin: 'Login',
    loginSuccess: 'Login successful',
    registerSuccess: 'Registration successful',
    logoutSuccess: 'Logout successful',
    loginFailed: 'Login failed',
    registerFailed: 'Registration failed',
  },
  dashboard: {
    title: 'Dashboard',
    welcome: 'Welcome back',
    totalTasks: 'Total Tasks',
    pendingTasks: 'Pending',
    processingTasks: 'Processing',
    completedTasks: 'Completed',
    failedTasks: 'Failed',
    recentTasks: 'Recent Tasks',
    systemStatus: 'System Status',
    queueStats: 'Queue Statistics',
  },
  task: {
    title: 'Task',
    taskId: 'Task ID',
    fileName: 'File Name',
    fileSize: 'File Size',
    status: 'Status',
    priority: 'Priority',
    createdAt: 'Created At',
    updatedAt: 'Updated At',
    completedAt: 'Completed At',
    startedAt: 'Started At',
    processingTime: 'Processing Time',
    actions: 'Actions',
    viewDetail: 'View Detail',
    deleteTask: 'Delete Task',
    cancelTask: 'Cancel Task',
    downloadResult: 'Download Result',
    downloadMarkdown: 'Download Markdown',
    downloadJson: 'Download JSON',
    submitTask: 'Submit Task',
    taskList: 'Task List',
    taskDetail: 'Task Detail',
    selectFile: 'Select File',
    uploadFile: 'Upload File',
    dragDropHint: 'Drag and drop files here, or click to select',
    supportedFormats: 'Supported Formats',
    maxFileSize: 'Max File Size',
    processingOptions: 'Processing Options',
    backend: 'Processing Engine',
    processingBackend: 'Processing Backend',
    language: 'Language',
    method: 'Method',
    formulaEnable: 'Formula Recognition',
    tableEnable: 'Table Recognition',
    taskSubmitted: 'Task submitted successfully',
    taskDeleted: 'Task deleted successfully',
    confirmDelete: 'Confirm delete this task?',
    confirmCancel: 'Are you sure you want to cancel this task?',
    noTasks: 'No tasks',
    filterByStatus: 'Filter by status',
    allStatus: 'All Status',
    result: 'Result',
    parseResult: 'Parse Result',
    markdown: 'Markdown Content',
    json: 'JSON Data',
    metadata: 'Metadata',
    images: 'Images',
    errorMessage: 'Error Message',
    retryTask: 'Retry Task',
    retryCount: 'Retry Count',
    copyTaskId: 'Copy Task ID',
    taskIdCopied: 'Task ID copied',
    basicInfo: 'Basic Information',
    statusTimeline: 'Status Timeline',
    taskCreated: 'Task Created',
    startProcessing: 'Start Processing',
    taskProcessing: 'Task Processing',
    taskWaiting: 'Task Waiting',
    completed: 'Completed',
    failed: 'Failed',
    waitingToComplete: 'Waiting to Complete',
    autoRefresh: 'Page will auto-refresh, please wait...',
    waitingInQueue: 'Task is waiting in queue for processing...',
    noMarkdownContent: 'No Markdown content',
    loadingJsonData: 'Loading JSON data...',
    jsonNotAvailable: 'JSON format not available',
    jsonNotSupported: 'Current parsing engine does not support JSON output',
    loadFailed: 'Failed to load task',
    cancelFailed: 'Cancel failed',
    workerId: 'Worker ID',
    // TaskSubmit page additions
    priorityLabel: 'Task Priority',
    priorityHint: '(0-100, higher number = higher priority)',
    supportedFormatsHint: 'Supports PDF, images, Word, Excel, PowerPoint, HTML, audio (MP3/WAV/M4A), video (MP4/AVI/MKV/MOV), biological sequences (FASTA/GenBank) and more',
    enableFormulaRecognition: 'Enable formula recognition',
    enableTableRecognition: 'Enable table recognition',
    pleaseSelectFile: 'Please select a file first',
    // Backend options
    backendAuto: '🎯 Auto Select (Recommended, automatically selects the best engine based on file type)',
    backendAutoHint: '🎯 Auto Select: The system will intelligently select the most suitable engine based on file extension',
    backendPipeline: 'MinerU Pipeline (Complete parsing)',
    backendPaddleOCR: 'PaddleOCR-VL (Multilingual OCR, 109+ languages)',
    backendPaddleOCRHint: '🌏 PaddleOCR-VL: Automatic multilingual recognition, supports document orientation correction, text correction, layout detection',
    backendPaddleOCRVLLM: 'PaddleOCR-VL-VLLM (High-performance multilingual OCR)',
    backendPaddleOCRVLLMHint: '🚀 PaddleOCR-VL-VLLM: High-performance multilingual OCR based on vLLM',
    backendVLMTransformers: 'VLM Transformers (Vision Language Model)',
    backendVLMEngine: 'VLM vLLM Engine (High-performance VLM)',
    backendSenseVoice: 'SenseVoice (Speech recognition, speaker identification)',
    backendSenseVoiceHint: '🎙️ SenseVoice: Supports multilingual speech recognition, automatic speaker identification, emotion recognition',
    backendVideo: 'Video (Video to text, extract audio + speech recognition)',
    backendVideoHint: '🎬 Video: Extract audio from video and transcribe to text, supports multiple video formats (MP4/AVI/MKV/MOV/WebM, etc.)',
    backendFasta: '🧬 FASTA (Biological sequence format)',
    backendFastaHint: '🧬 FASTA: Parse biological sequence files (.fasta/.fa/.fna), supports protein and nucleic acid sequences, generates semantic descriptions',
    backendGenBank: '🧬 GenBank (Gene sequence annotation format)',
    backendGenBankHint: '🧬 GenBank: Parse gene sequence annotation files (.gb/.gbk), extract features, annotations and metadata',
    groupDocParsing: 'Document Parsing',
    groupAudioVideo: 'Audio/Video Processing',
    groupProfessional: 'Professional Format Parsing',
    // Language options
    langAuto: 'Auto Detect (Recommended for audio)',
    langChinese: 'Chinese',
    langEnglish: 'English',
    langKorean: 'Korean',
    langJapanese: 'Japanese',
    langHint: '💡 For audio files, select SenseVoice engine; for video files, select Video engine',
    // Method options
    methodAuto: 'Auto Select (Recommended)',
    methodText: 'Text Extraction',
    methodOCR: 'OCR Recognition',
    // Tips
    tipBothFormats: '💡 Tip: {backend} will generate both Markdown and JSON formats, you can switch display formats when viewing results.',
    // Video options
    videoOptions: '🎬 Video Processing Options',
    keepAudio: 'Keep extracted audio file',
    keepAudioHint: '💡 By default, temporary audio files will be automatically deleted after processing to save space',
    enableKeyframeOCR: 'Enable keyframe OCR recognition',
    enableKeyframeOCRBadge: 'Experimental',
    enableKeyframeOCRHint: '📸 Automatically extract video keyframes and perform OCR recognition, suitable for videos with text content (such as courses, presentations, etc.)',
    ocrEngine: 'OCR Engine',
    ocrEngineRecommended: 'PaddleOCR-VL (Recommended, supports multilingual)',
    keepKeyframes: 'Keep extracted keyframe images',
    // PaddleOCR-VL options
    paddleOCREnhanced: '✨ Enhanced Features Enabled',
    paddleOCRFeature1: '✅ Automatic document orientation classification and correction',
    paddleOCRFeature2: '✅ Text image correction (fix distortion)',
    paddleOCRFeature3: '✅ Intelligent layout area detection and sorting',
    paddleOCRFeature4: '✅ Automatic multilingual recognition (109+ languages, no manual specification required)',
    paddleOCRTipTitle: '💡 Tips:',
    paddleOCRTip1: 'PaddleOCR-VL will automatically detect document language, no manual selection required',
    paddleOCRTip2: 'Supports Chinese, English, Japanese, Korean, Arabic and 109+ languages',
    paddleOCRTip3: 'Native support for multi-page PDF document processing',
    paddleOCRTip4: 'GPU inference only (requires NVIDIA GPU)',
    // Watermark removal
    watermarkOptions: '🎨 Watermark Removal Options',
    enableWatermarkRemoval: 'Enable watermark removal',
    watermarkBadge: 'Smart Detection',
    watermarkHint: '🔍 Automatically detect and remove watermarks from images and PDFs using YOLO11x + LaMa',
    watermarkConfidence: 'Detection Confidence',
    watermarkConfidenceMore: '0.1 (More)',
    watermarkConfidenceRecommended: '0.35 (Recommended)',
    watermarkConfidenceLess: '0.9 (Less)',
    watermarkConfidenceHint: '💡 Lower values are more sensitive but may have false positives; higher values only detect high-confidence watermarks',
    watermarkDilation: 'Removal Range Expansion',
    watermarkDilationPixels: '({value} pixels)',
    watermarkDilationExact: '0 (Exact)',
    watermarkDilationRecommended: '10 (Recommended)',
    watermarkDilationExpand: '30 (Expand)',
    watermarkDilationHint: '💡 Expand removal area to prevent watermark edge residue',
    watermarkPDFTitle: '📄 PDF Smart Processing:',
    watermarkPDFTip1: 'Editable PDF: Directly delete watermark objects',
    watermarkPDFTip2: 'Scanned PDF: Convert to image → Remove watermark → Reassemble PDF',
    watermarkPDFTip3: 'Image format: Directly use YOLO + LaMa processing',
  },
  status: {
    pending: 'Pending',
    processing: 'Processing',
    completed: 'Completed',
    failed: 'Failed',
    cancelled: 'Cancelled',
  },
  queue: {
    title: 'Queue Management',
    stats: 'Queue Statistics',
    tasks: 'Queue Tasks',
    totalInQueue: 'Total in Queue',
    processing: 'Processing',
    pending: 'Pending',
    total: 'Total',
    allTasks: 'All Tasks Total',
    workers: 'Workers',
    refresh: 'Refresh',
    historyStats: 'History Statistics',
    completed: 'Completed',
    failed: 'Failed',
    lastUpdate: 'Last Update',
    management: 'Management Operations',
    resetStale: 'Reset Stale Tasks',
    resetStaleDesc: 'Reset processing tasks that have timed out to pending status for reprocessing',
    timeoutMinutes: 'Timeout (minutes)',
    resetting: 'Resetting...',
    reset: 'Reset',
    cleanupOld: 'Cleanup Old Tasks',
    cleanupOldDesc: 'Clean up tasks from N days ago (delete both result files and database records)',
    retentionDays: 'Retention Days',
    cleaning: 'Cleaning...',
    cleanupTask: 'Cleanup Tasks',
    healthCheck: 'System Health Check',
    healthCheckDesc: 'Check backend service and database connection status',
    checking: 'Checking...',
    statusLabel: 'Status',
    healthy: 'Healthy',
    unhealthy: 'Unhealthy',
    operationLog: 'Operation Log',
    clearLog: 'Clear Log',
    confirmResetStale: 'Confirm Reset Stale Tasks',
    confirmResetStaleMsg: 'Will reset all processing tasks that exceed {timeout} minutes. Continue?',
    confirmCleanup: 'Confirm Cleanup Old Tasks',
    confirmCleanupMsg: 'Will permanently delete tasks from {days} days ago (including result files and database records). This operation cannot be undone. Continue?',
    resetSuccess: 'Successfully reset {count} stale task(s)',
    resetFailed: 'Reset failed',
    cleanupSuccess: 'Successfully cleaned up {count} old task(s)',
    cleanupFailed: 'Cleanup failed',
    healthCheckSuccess: 'System health check passed',
    healthCheckFailed: 'Health check failed',
  },
  profile: {
    title: 'Profile',
    username: 'Username',
    email: 'Email',
    fullName: 'Full Name',
    role: 'Role',
    createdAt: 'Registered At',
    lastLogin: 'Last Login',
    accountStatus: 'Account Status',
    active: 'Active',
    disabled: 'Disabled',
    loginMethod: 'Login Method',
    userId: 'User ID',
    accountInfo: 'Account Information',
    neverLoggedIn: 'Never logged in',
    usernameCannotChange: 'Username cannot be changed',
    saveChanges: 'Save Changes',
    apiKey: 'API Key',
    generateApiKey: 'Generate API Key',
    revokeApiKey: 'Revoke API Key',
    copyApiKey: 'Copy API Key',
    apiKeyCopied: 'API Key copied',
    apiKeyGenerated: 'API Key generated',
    apiKeyRevoked: 'API Key revoked',
    confirmRevokeApiKey: 'Confirm revoke API Key?',
    roleAdmin: 'Administrator',
    roleManager: 'Manager',
    roleUser: 'User',
    changePassword: 'Change Password',
    oldPassword: 'Old Password',
    newPassword: 'New Password',
    confirmNewPassword: 'Confirm New Password',
    oldPasswordPlaceholder: 'Enter your old password',
    newPasswordPlaceholder: 'Enter new password (at least 8 characters)',
    confirmPasswordPlaceholder: 'Enter new password again',
    passwordRequirement: 'Password must be at least 8 characters',
    passwordMismatch: 'Passwords do not match',
    changePasswordButton: 'Change Password',
  },
  user: {
    title: 'User Management',
    createUser: 'Create User',
    createNewUser: 'Create New User',
    addUser: 'Add User',
    editUser: 'Edit User',
    deleteUser: 'Delete User',
    confirmDeleteUser: 'Are you sure you want to delete user "{username}"? This action cannot be undone.',
    userDeleted: 'User deleted',
    userAdded: 'User added',
    userCreated: 'User created successfully',
    userUpdated: 'User information updated',
    totalUsers: 'Total Users',
    activeUsers: 'Active Users',
    permissions: 'Permissions',
    noUsers: 'No users',
    username: 'Username',
    email: 'Email',
    password: 'Password',
    fullName: 'Full Name',
    fullNameOptional: 'Full Name (Optional)',
    role: 'Role',
    status: 'Status',
    createdAt: 'Created At',
    lastLogin: 'Last Login',
    actions: 'Actions',
    never: 'Never',
    active: 'Active',
    disabled: 'Disabled',
    accountActive: 'Account Active',
    roleUser: 'User',
    roleManager: 'Manager',
    roleAdmin: 'Administrator',
    creating: 'Creating...',
    create: 'Create',
    saving: 'Saving...',
    edit: 'Edit',
    delete: 'Delete',
    loadFailed: 'Failed to load user list',
    createFailed: 'Failed to create user',
    updateFailed: 'Failed to update user',
    deleteFailed: 'Failed to delete user',
  },
  apiDocs: {
    title: 'API Documentation',
    loading: 'Loading API documentation...',
    loadError: 'Failed to load API documentation',
    retry: 'Retry',
    selectServer: 'Select Server',
    authentication: 'Authentication',
    bearerToken: 'Bearer Token',
  },
  apiKey: {
    title: 'API Token Management',
    createNew: 'Create New Token',
    noTokens: 'No API Tokens',
    noTokensDesc: 'Create a token for API calls',
    tokenName: 'Token Name',
    tokenNamePlaceholder: 'e.g., Production API',
    expiresAt: 'Expires At',
    days30: '30 Days',
    days90: '90 Days',
    days180: '180 Days',
    days365: '365 Days',
    neverExpires: 'Never Expires',
    creating: 'Creating...',
    create: 'Create',
    expired: 'Expired',
    valid: 'Valid',
    createdAt: 'Created at',
    expiresAtLabel: 'Expires at',
    deleteToken: 'Delete Token',
    confirmDelete: 'Delete API Token',
    confirmDeleteMsg: 'Are you sure you want to delete token "{name}"? This action cannot be undone.',
    createSuccess: 'Token created successfully',
    createSuccessTitle: 'Token Created Successfully',
    createSuccessDesc: 'Please copy and save this token, it will only be shown once:',
    createSuccessWarning: '⚠️ This token has full access to your account. Keep it secure. If leaked, delete it immediately.',
    saved: 'I have saved it',
    copied: 'Token copied to clipboard',
    copyFailed: 'Failed to copy, please copy manually',
    deleteSuccess: 'Token deleted',
    loadFailed: 'Failed to load API tokens',
    createFailed: 'Failed to create token',
    deleteFailed: 'Failed to delete token',
  },
  uploader: {
    clickToUpload: 'Click to upload',
    dragDropHint: 'or drag and drop files here',
    maxFileSize: 'Max file size',
    fileTooLarge: 'File {name} exceeds maximum size limit',
  },
  error: {
    networkError: 'Network Error',
    serverError: 'Server Error',
    unauthorized: 'Unauthorized',
    forbidden: 'Forbidden',
    notFound: 'Not Found',
    validationError: 'Validation Error',
    unknownError: 'Unknown Error',
  },
  footer: {
    likeProject: 'Like this project?',
    starOnGitHub: 'Star on GitHub',
    copyright: '© 2024 Tianshu 天枢 - Enterprise-grade AI Data Preprocessing Platform',
  },
}
